package com.sxfech.project.a;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity;

/**
 * Created by lihongliang on 2018/6/11.
 */
@SpringBootApplication
@Configuration
@EnableEurekaClient
@EnableAutoConfiguration
@EnableGlobalMethodSecurity(
        prePostEnabled = true
)
public class Application {

    public Application() {
    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
